package com.ciko.code.utils;

import android.widget.Toast;

import com.mywork.WorkUIKit;


/**
 * Toast统一管理类
 * 
 */
public class ToastUtils {

	private static Toast mToast;

	/**
	 * 短时间显示Toast
	 */
	public static void showShort(Object message) {
		if(mToast == null) {
			mToast = Toast.makeText(WorkUIKit.getContext(), message.toString(), Toast.LENGTH_SHORT);
		}else{
			mToast.setText(message.toString());
			mToast.setDuration(Toast.LENGTH_SHORT);
		}
		mToast.show();
	}

}
